import request from '@/utils/request'

export function save(data) {
  return request({
    url: '/message/save',
    method: 'post',
    data
  })
}
export function getListPage(data) {
  return request({
    url: '/message/getListPage',
    method: 'post',
    data
  })
}
export function getListPage2(data) {
  return request({
    url: '/message/getListPage2',
    method: 'post',
    data
  })
}
export function deleteFJMessage(data) {
  return request({
    url: '/message/deleteFJMessage',
    method: 'post',
    params: data
  })
}
export function deleteSJMessage(data) {
  return request({
    url: '/message/deleteSJMessage',
    method: 'post',
    params: data
  })
}
export function getInfo(data) {
  return request({
    url: '/message/getInfo',
    method: 'get',
    params: data
  })
}
export function getInfo2(data) {
  return request({
    url: '/message/getInfo2',
    method: 'get',
    params: data
  })
}
export function updateStatus(data) {
  return request({
    url: '/message/updateStatus',
    method: 'post',
    data
  })
}
